import core.DominoServer;


public class Main {

	public static void main(String[] args) {
		String propertiesFilePath = DominoServer.DEFAULT_PROPERTIES_FILE_PATH;
		
		if(args.length == 1){
			propertiesFilePath = args[0];
		}
		try {
			new DominoServer(propertiesFilePath).start();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
